package TestExtentd;

public class CPU {
    String model;
    double speed;
    CPU(String model, double speed) {
        this.model = model;
        this.speed = speed;
    }
    String getModel() {
        return model;
    }
    double getSpeed() {
        return speed;
    }
    void process(){
        System.out.println("CPU开始运行");
    }
}
